﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace CrmContacto.WebApp.Code.Sap
{
    [DataContract]
    [Serializable]
    public class SapCodigoProductoCompleto
    {
        public SapCodigoProductoCompleto()
        {
            Codigo = Color = string.Empty;
        }

        public string ProductoColor
        {
            get
            {
                return Codigo + Color;
            }
        }

        [DataMember]
        public long Id { get; set; }

        [DataMember]
        public string Codigo { get; set; }

        [DataMember]
        public string Color { get; set; }

        [DataMember]
        public string Descripcion { get; set; }
    }
}